package com.sora.sora.common.model.bo;

import com.sora.sora.common.model.entity.UserEntity;
import com.sora.sora.manager.model.vo.UserVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface UserBasicConvert {

    UserBasicConvert INSTANCE = Mappers.getMapper(UserBasicConvert.class);

    UserVO entitiesConvertToVO(UserEntity entity);

    List<UserVO> entitiesConvertToVO(List<UserEntity> entities);
}
